import { CommonQuery } from "@/model/common/pageRequest";
import type { ColumnType } from "ant-design-vue/es/table";
export class SearchParam extends CommonQuery {
  businessType?: string;
  entryNoticeNo?: string;
  cardNo?: string;
  customerType?: string;
  grainVarieties?: string;
  customer?: string;
  transportTool?: string;
  cropYear?: string;
  plateNumber?: string;

  identification?: string;

  harvestCustomer?: string;
  harvestIdentity?: string;
  customerName?: string;
  customerIdentity?: string;
  customerMobile?: string;
  customerAddress?: string;
  khzp?: string;

  carrierName?: string;
  carrierIdentity?: string;
  carrierMobile?: string;
  carrierAddress?: string;
  cyrzp?: string;

  sampler?: string;
  sampleNo?: any;
  remark?: string;
  businessDate?: string;
  urls?: [];
}

export class SamplerParam {
  employeeName?: string;
  organization?: any;
  phoneNumber?: string;
  page: number = 1;
  pageSize: number = 10;
}
export const samplerColumns = <ColumnType[]>[
  {
    title: "序号",
    dataIndex: "num",
    width: 50,
    align: "center",
    resizable: true,
    ellipsis: true,
  },
  {
    title: "姓名",
    dataIndex: "employeeName",
    align: "center",
    resizable: true,
    ellipsis: true,
  },
  {
    title: "所属组织",
    dataIndex: "organization",
    align: "center",
    resizable: true,
    ellipsis: true,
  },
  {
    title: "电话号码",
    dataIndex: "phoneNumber",
    align: "center",
    resizable: true,
    ellipsis: true,
  },
  {
    title: "状态",
    dataIndex: "incumbencyStatus",
    align: "center",
    resizable: true,
    ellipsis: true,
  },
  {
    title: "操作",
    dataIndex: "operation",
    resizable: true,
    align: "center",
  },
];
export interface ReportParam {
  employeeName: string;
}
